import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/sys/login',
    method: 'post',
    data: {
      username: data.username,
      password: data.password,
    },
  })
}
